cmake_minimum_required(VERSION 3.12)
project(TinyJS)

set(CMAKE_CXX_STANDARD 14)


set(CMAKE_CXX_FLAGS "-static-libgcc -static-libstdc++")

include_directories(.)

add_executable(TinyJS
        ast.h
        built_in.h
        env.h
        eval.cpp
        eval.h
        lex.h
        log.cpp
        log.h
        main.cpp
        parser.cpp
        parser.h)
